#ifndef _X_CMD_BASE_H
#define _X_CMD_BASE_H
#include <iostream>
#include "x_cmd_id.h"
namespace cmd
{
    template <unsigned short TYPE>
    class MSG_BASE{
        public:
            MSG_BASE():type(TYPE){}
            uint16_t getType() { return type; }
        private:
            unsigned short type;
    }
    class MSG_TEST_CSC : public MSG_BASE<cmd_id::server::MSG_TEST_CSC>{
        public:
            uint16_t getUid() { return uid; }
        private:
            uint16_t uid;
    };
}

#endif